﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace website.template_faa.admin
{
    /// <summary>
    /// $codebehindclassname$ 的摘要说明
    /// </summary>
    public class getTHCLXForCombo : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";

            string sql = "select thclxId, thclxName from [tonghangTHCLX]";
            System.Data.SqlClient.SqlDataReader reader = jsm.SqlHelper.SqlServerHelper.ExecuteReader(sql);
            string text = dbcaac.JsonHelper.SqlDataReader2JsonForEasyUICombo(reader);
            context.Response.Write(text);
            context.Response.End();
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}
